package com.by.auto;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * date 2025/2/12 17:56
 * author bjj
 * decoration
 * version 1.0
 * since jdk11
 */
@Data
@ConfigurationProperties(prefix = "token.interceptor")
public class TokenInterceptorProperties {
    private static final String[] DEFAULT_PATH_PATTERNS = {"/**"};
    private static final String[] DEFAULT_EXCLUDE_PATH_PATTERNS = {"/login"};
    String[] pathPatterns;// 拦截路径
    String[] excludePathPatterns;//不拦截路径
}
